package kr.hkit.androidcomplete02.ch11;

import kr.hyunist.androidcomplete01.*;
import android.app.*;
import android.os.*;
import android.view.*;
import android.widget.*;

public class ButtonSelectorEx extends Activity {
	Button mBtn;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch11_buttonselector);
	
	mBtn = (Button) findViewById(R.id.ch11_btnexit);
	mBtn.setOnClickListener(new View.OnClickListener() {
		
		@Override
		public void onClick(View v) {
			
			Toast.makeText(ButtonSelectorEx.this, "Exit Button Clicked!", Toast.LENGTH_SHORT).show();
			
		}
	});
	}
	
	
}
